package com.zxy.ziems.server.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zxy.btp.mybatis.base.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @ClassName: DeviceMeasureDataIncrement
 * @Author: yanzhiwei
 * @Description:
 * @Date: 2024/4/7 13:49
 */
@Data
@TableName("t_device_measure_data_increment_hour")
public class DeviceMeasureDataIncrementHour extends BaseEntity {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 设备ID
     */
    private String deviceId;

    /**
     * 测量数据类型Id 关联的DataType
     */
    private String dataTypeId;
    /**
     * 测量数据的单位 关联的DataUnit
     */
    private String unitId;
    /**
     * 测量值
     */
    private BigDecimal measureValue;
    /**
     * 增量值
     */
    private BigDecimal incrementValue;
    /**
     * 增量费用
     */
    private BigDecimal incrementCost;
    /**
     * 测量时间
     */
    private LocalDateTime measureTime;
    /**
     * 平均值
     */
    private BigDecimal avgValue;

}
